import request from '@/utils/request';

export const selectPage = async ({ pageSize, pageNum, ...others }) => {
  return request(
    `/api/system/admin/buyer/manage/select/points/list?pageSize=${pageSize}&pageNum=${pageNum}`,
    {
      method: 'POST',
      data: others,
    },
  );
};

export const updateInfo = async (body) => {
  return request(`/api/system/admin/buyer/manage/up/user/points`, {
    method: 'POST',
    data: body,
  });
};
